package com.interagriculture.service;

import com.interagriculture.entity.Carousel;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public interface CarouselService {

    /**
     * 获取轮播图
     */
    List<Carousel> getImage(Carousel carousel);

    /**
     * 修改轮播图
     * @param carousel
     */
    void updateImage(Carousel carousel);
}
